package com.project.dto;

import java.io.Serializable;

//ALTER TABLE ttalk
//ADD
//	CONSTRAINT friend_TO_ttalk_FK
//	FOREIGN KEY (
//		frcode
//	)
//	REFERENCES friend (
//		frcode
//	);


public class TtalkDto implements Serializable {

	private static final long serialVersionUID = -4612188491324601174L;
	private String email;
	private String mdate;
	private String content;
	private String del;
	private String frcode;
	
	public TtalkDto() {
		super();
		// TODO Auto-generated constructor stub
	}

	public TtalkDto(String email, String mdate, String content, String del, String frcode) {
		super();
		this.email = email;
		this.mdate = mdate;
		this.content = content;
		this.del = del;
		this.frcode = frcode;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMdate() {
		return mdate;
	}

	public void setMdate(String mdate) {
		this.mdate = mdate;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDel() {
		return del;
	}

	public void setDel(String del) {
		this.del = del;
	}
	
	public String getFrcode() {
		return frcode;
	}

	public void setFrcode(String frcode) {
		this.frcode = frcode;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "TtalkDto [email=" + email + ", mdate=" + mdate + ", content="
				+ content + ", del=" + del + ", , frcode=" + frcode + ", getEmail()=" + getEmail()
				+ ", getMdate()=" + getMdate() + ", getContent()="
				+ getContent() + ", getDel()=" + getDel() + ", getFrcode()=" + getFrcode() + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	}
	
	
}
